import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import 'virtual:windi.css'
import 'virtual:windi-devtools'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate' // 导入插件

const app = createApp(App)
const pinia = createPinia()
// 使用插件
pinia.use(piniaPluginPersistedstate)
app.use(pinia)
app.use(router)

app.mount('#app')
